﻿
 <div id="BaseView">
   
</div>
 <script id="Base_cont" type="text/template">
 

   <form id="baseForm">
      <h2 class="tab-cont-h2">
      <a href="javascript:;">企业中心</a> &gt; <a href="javascript:;">企业信息管理</a> &gt; <span>基础设置</span>
      </h2>
      <div class="base-view">
           <!-- /*<div class="dl">
                  <div class="dt fl">
                        <span class="red">*</span><label>用 户 名：</label>
                  </div>
                  <div class="dd fl">
                        <input type="text" name="account_no" class="username w268 input" id="account_no" value="<%=company_no%>">
                  </div>
            </div>*/-->
            <div class="dl">
                  <div class="dt fl">
                        <span class="red">*</span><label>企业名称：</label>
                  </div>
                  <div class="dd fl">
                        <input type="text" name="company_name" class="username w447 input" id="company_name"  readonly="true" value="<%=company_name%>">
                  </div>
            </div>
            <div class="dl h98">
                  <div class="dt fl">
                        <span class="red">*</span><label>所在地：</label>
                  </div>
                  <div class="dd fl">
                        <select class="w138" id="Jarea">
                             
                        </select>
                        <select class="w138" id="Jcity">
                             
                        </select>
                        <select class="w138" id="Jtown">
                             
                        </select>
                        <div style="clear:both;"></div>
                        <input type="text" name="address" class="pos-address w447 input" id="address" value="<%=address%>"/>
                  </div>
            </div>
            <div class="dl">
                  <div class="dt fl">
                        <span class="red">*</span><label>联 系 人：</label>
                  </div>
                  <div class="dd fl">
                        <input type="text" name="contact" class="username w268 input" id="contact" value="<%=contacts%>">
                  </div>
            </div>
            <div class="dl">
                  <div class="dt fl">
                        <label>手机号码：</label>
                  </div>
                  <div class="dd fl">
                        <input type="text" name="phone" class="username w268 input" id="phone" value="<%=cont_phone%>">
                  </div>
            </div>
            <div class="dl">
                  <div class="dt fl">
                        <label>固定电话：</label>
                  </div>
                  <div class="dd fl">
                  <input type="text" name="usernmae" class="username w111 input" id="tel-c" value="<%=(cont_tel ? cont_tel.split('-')[0] : '')%>"/><span class="vline">-</span><input type="text" name="usernmae" class="username w225 input" id="tel-d" value="<%=(cont_tel ? cont_tel.split('-')[1] : '')%>"/>
                  </div>
            </div>
            <div class="dl h257">
                  <div class="dt fl">
                        <label>企业简介：</label>
                  </div>
                  <div class="dd fl">
                   <textarea id="com-des"><%=information%></textarea>
                  </div>
            </div>
            <!-- /*<div class="dl h187">
                  <div class="dt fl">
                        <span class="red">*</span><label>企业三证：</label>
                  </div>
                  <div class="dd fl file-fl">
                        <div style="float:left;" id="fileList1" class="pre-img-wrap">
                        <img src="<%=certificate1%>" class="pre-img">
                        </div>
                        <div class="file-btn file-btn1">点击上传</div>
                        <input type="file" name="" value="选择文件" id="fileElem1" accept="image/*" onchange="handleFiles(this)" class="file file1" style="width:151px;height:24px;">
                        <div style="float:left;" id="fileList2" class="pre-img-wrap">
                        <img src="<%=certificate2%>" class="pre-img">
                        </div>
                        <div class="file-btn file-btn2">点击上传</div>
                        <input type="file" name="" value=选择文件"" id="fileElem2" accept="image/*" onchange="handleFiles(this)" class="file file2" style="width:151px;">
                        <div style="float:left;" id="fileList3" class="pre-img-wrap">
                        <img src="<%=certificate3%>" class="pre-img">
                        </div>
                        <div class="file-btn file-btn3">点击上传</div>
                        <input type="file" name="" value="选择文件" id="fileElem3" accept="image/*" onchange="handleFiles(this)" class="file file3" style="width:151px;">
                        <div class="fl file-tip">
                          <p>照片必须是清晰可见的。可以是扫描件或者是拍摄照片。</p>
                          <p>仅支持<span class="dd9a09"> .JPG .PNG .JPEG</span>的图片格式</p>
                          <p><span class="dd9a09">图片大小不超过180KB</span></p>
                        </div>
                  </div>
            </div>
            <div class="company-logo">
               <div style="float:left;" id="fileList4" class="pre-img-wrap">
                        <img src="<%=logo%>" class="pre-img">
                        </div>
                        <div class="file-btn file-btn4">点击上传</div>
                        <input type="file" name="" value="选择文件" id="fileElem4" accept="image/*" onchange="handleFiles(this)" class="file file4" style="width:151px;">
                        <div class="file-tip-logo">
                          <p>仅支持<span class="dd9a09"> .JPG .PNG .JPEG</span>的图片格式</p>
                          <p><span class="dd9a09">图片大小不超过180KB</span></p>
                        </div>
            </div>*/-->
      </div>
      <div class="base-view-setting">
        <h2>
            <span>基础功能设置</span>
        </h2>
        <div class="base-setting-cont">
           <div class="fl base-set-list">
             <div class="dl">
                  <div class="dt fl">
                        选标方式：
                  </div>
                  <div class="dd fl">
                        <label><input type="radio" class="bid_sel" data-id="10" name="selection" <%if(bid_sel==10){%>checked="checked"<%}%>>手动</label>
                        <label><input type="radio" class="bid_sel" data-id="1" name="selection" <%if(bid_sel==1){%>checked="checked"<%}%>>自动</label>
                        <span>（自动即按照最低价）</span>
                  </div>
             </div>
             <div class="dl none">
                  <div class="dt fl">
                        报价方式：
                  </div>
                  <div class="dd fl">
                        <label><input type="radio" class="price_mode" data-id="1" name="Tax" <%if(price_mode==1){%>checked="checked"<%}%>>含税</label>
                        <label><input type="radio" class="price_mode" data-id="2" name="Tax" <%if(price_mode==2){%>checked="checked"<%}%>>不含税</label>
                  </div>
             </div>
             <div class="dl">
                  <div class="dt fl">
                        空车费额度（元）：
                  </div>
                  <div class="dd fl">
                        <input type="text" name="" class="setting-input" id="Emptyamount" value="<%=empty_price%>"/>
                  </div>
             </div>
             <div class="dl">
                  <div class="dt fl">
                        未取货扣款默认额（元）：
                  </div>
                  <div class="dd fl">
                        <input type="text" name="" class="setting-input" id="nopick" value="<%=nopickup_price%>"/>
                  </div>
             </div>
             <div class="dl none">
                  <div class="dt fl">
                       自动默认选标时间：
                  </div>
                  <div class="dd fl">
                        <input type="" name="" class="setting-input" id="choice_time" value=""/>
                  </div>
             </div>
           </div>
           <div class="fl base-set-list">
                  <div class="dl none">
                  <div class="dt fl">
                        地址显示：
                  </div>
                  <div class="dd fl">
                        <label><input type="radio" class="address_display" data-id="1" name="address-radio" <%if(address_display==1){%>checked="checked"<%}%>>完全显示</label>
                        <label><input type="radio"class="address_display" data-id="20" name="address-radio" <%if(address_display==20){%>checked="checked"<%}%>>到目的地显示</label>
                  </div>
             </div>
             <div class="dl">
                  <div class="dt fl">
                        付款方式：
                  </div>
                  <div class="dd fl">
                        <select class="pay-select" id="paytype">
                           <option data-id="1" <%if(fk==1){%>selected = "selected"<%}%>>企业付</option>
                           <option data-id="10" <%if(fk==10){%>selected = "selected"<%}%>>到付</option>
                           <option data-id="20" <%if(fk==20){%>selected = "selected"<%}%>>部分到付</option>
                           <option data-id="30" <%if(fk==30){%>selected = "selected"<%}%>>自定义</option>
                        </select>
                        <input type="" name="" placeholder="输入你的自定义计算公式" class="setting-input w178 none" value="<%=fk_info%>"/>
                  </div>
             </div>
             <div class="dl">
                  <div class="dt fl">
                        关闭运单扣款默认额（元）：
                  </div>
                  <div class="dd fl">
                        <input type="" name="" class="setting-input" id="cwaybill" value="<%=bidoff_price%>"/>
                  </div>
             </div>
             <div class="dl">
                  <div class="dt fl">
                        结算类型：
                  </div>
                  <div class="dd fl">
                        <select class="payed-select" id="payedtype">
                        <%if(balance==0){%>
                          <option data-id="-1">请选择</option>
                          <%}else{%>
                           <option <%if(balance==1){%>selected = "selected"<%}%> data-id="1">即时结算</option>
                           <option <%if(balance==11){%>selected = "selected"<%}%> data-id="11">当月结算</option>
                           <option <%if(balance==12){%>selected = "selected"<%}%> data-id="12">2个月结</option>
                           <option <%if(balance==13){%>selected = "selected"<%}%> data-id="13">3个月结算</option>
                           <option <%if(balance==14){%>selected = "selected"<%}%> data-id="14">4个月结算</option>
                           <option <%if(balance==15){%>selected = "selected"<%}%> data-id="15">5个月结算</option>
                           <option <%if(balance==17){%>selected = "selected"<%}%> data-id="17">7个月结</option>
                           <option <%if(balance==18){%>selected = "selected"<%}%> data-id="18">8个月结</option>
                           <option <%if(balance==19){%>selected = "selected"<%}%> data-id="19">9个月结</option>
                           <option <%if(balance==110){%>selected = "selected"<%}%> data-id="110">10个月结</option>
                           <option <%if(balance==16){%>selected = "selected"<%}%> data-id="16">半年结</option>
                           <option <%if(balance==112){%>selected = "selected"<%}%> data-id="112">年结</option>
                           <%}%>
                        </select>
                  </div>
             </div>
             <div class="dl none">
                  <div class="dt fl">
                        最低竟标企业数：
                  </div>
                  <div class="dd fl">
                        <input type="" name="" class="setting-input" id="bid_minnum" value=""/>
                  </div>
             </div>
           </div>
        </div>
      </div>
      <div class="base-setting-btn">
             <input type="submit"  class="base-save" id="baseSave" value="确定">
             <a href="javasript:;" class="base-cancel none">取消</a>
      </div>
      </form>
 </script>

<script type="text/javascript" src="jquery.validate.min.js"></script>
<script type="text/javascript" src="bootstrap-datetimepicker.js" charset="UTF-8"></script>
<script type="text/javascript" src="bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<script type="text/javascript" src="base.js"></script>


